﻿using DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Twos.Web.IService
{
     public  interface JobIservice: IServiceSupport
    {
        //接口
        List<JobDTO> GetJobList();
        /// <summary>
        /// 分页  模糊查询  
        /// </summary>
        /// <param name="offset">页码</param>
        /// <param name="limit">每页显示的数据量</param>
        /// <param name="rowCount">总数据量</param>
        /// <returns></returns>
        List<JobDTO> ShowJobList(int offset, int limit,string sort,string order,string name, string code, ref int rowCount);

        bool Add(string name, string code);
        bool up(string name, string code, string id);
        bool Del(string id);
    }
}
